<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      * {
        margin: 0;
        padding: 0;
      }
      .wrap {
        height: 300px;
        background: pink;
        box-sizing: border-box;
        padding-left: 200px;
        padding-right: 150px;
        overflow: hidden;
      }
      .middle {
        width: 100%;
        height: 100%;
        background: chartreuse;
        float: left;
      }
      .left {
        width: 200px;
        height: 200px;
        background: cornsilk;
        float: left;
        margin-left: -100%;
        position: relative;
        left: -200px;
        top: 0;
      }
      .right {
        width: 150px;
        height: 100px;
        background: burlywood;
        float: left;
        margin-left: -150px;
        position: relative;
        right: -150px;
        top: 0;
      }
    </style>
  </head>
  <body>
    <div class="wrap">
      <div class="middle"></div>
      <div class="left"></div>
      <div class="right"></div>
    </div>

    <!-- padding+负margin +定位 -->
  </body>
</html>
